#include<stdio.h>
#define NUM 4
struct Students 
{ 
  int id;
  char name[20];
  char subjects[NUM][20];
  int score[4];
};

int main()
{  
 struct Students stu1=
 {   1,
   "Amy",
   {"Chinese","Math","English","Science"},
   {99,98,97,96}
 };
 struct Students stu2=
 {   2,
   "Jack",
   {"Chinese","Math","English","Science"},
   {98,98,95,96}
 };
 
  struct Students stu3=
 {   3,
   "David",
   {"Chinese","Math","English","Science"},
   {89,98,95,96}
 };
  struct Students stu4=
 {   4,
   "Tony",
   {"Chinese","Math","English","Science"},
   {89,88,95,96}
 };
 
 
 int i=0;
 printf("  %d   %s  ",stu1.id,stu1.name);
 printf("\n");
 for(i=0;i<4;i++)
 { printf(" %s :  %d",stu1.subjects[i],stu1.score[i]);
 }
 printf("\n");
 printf("  %d   %s  ",stu2.id,stu2.name);
 printf("\n");
 for(i=0;i<4;i++)
 { printf(" %s :  %d",stu2.subjects[i],stu2.score[i]);
 }
 printf("\n");
 printf("  %d   %s  ",stu3.id,stu3.name);
 printf("\n");
 for(i=0;i<4;i++)
 { printf(" %s :  %d",stu3.subjects[i],stu3.score[i]);
 }
 printf("\n");
 printf("  %d   %s  ",stu4.id,stu4.name);
 printf("\n");
 for(i=0;i<4;i++)
 { printf(" %s :  %d",stu4.subjects[i],stu4.score[i]);
 }
 
 
 
 
 
 return 0;
}
